package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.pro.WorkflowProduct;

/**
 * @Description:
 * @Author: YanJiRan
 * @Date: 2025/9/19 - 下午5:11
 */
public interface WorkflowProductService {
    Result<PageInfo<WorkflowProduct>> selectList(WorkflowProduct workflowProduct, int page, int size);
    /**
     *
     * @param workflowProduct
     * @return
     */
    Result<WorkflowProduct> saveWorkflowProduct(WorkflowProduct workflowProduct);

    /**
     *
     * @param id
     * @return
     */
    Result<WorkflowProduct> selectById(Long id);

    /**
     *
     * @param workflowProduct
     * @return
     */
    Result updateById(WorkflowProduct workflowProduct);

    /**
     *
     * @param id
     * @return
     */
    Result deleteById(Long id);

    /**
     *
     * @param ids
     * @return
     */
    Result batchDelete(Long[] ids);
}
